package com.example.jersey;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class JerseyApplication {

    public static void main(String[] args) {
        SpringApplication.run(JerseyApplication.class, args);
    }
//    /** 第三种方式使用*/
//    @Bean
//    public ResourceConfig resourceConfig() {
//        return new ResourceConfig();
//    }
}
